package com.company.statis.feign.Impl;

import com.company.servicebase.exception.MyException;
import com.company.statis.feign.UserFeignService;
import org.springframework.stereotype.Component;

@Component
public class UserServiceDegrade implements UserFeignService {
    @Override
    public Integer getRegisterCount(String day) {
        throw new MyException(20001, "查询当天注册人数异常！");
    }
}
